import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import * as serviceWorker from './serviceWorker';
// import Admin from './Admin';


// import Child from './pages/demo/Child';
// import Parent from './pages/demo/Parent';
// import Life from './pages/demo/Life';
// import LifePrc from './pages/demo/LifePrc';
// import Clock from './pages/demo/Clock';
// import RenderF from './pages/demo/Render';
// import Main from './pages/route-demo/route1/Main';
// import Router from './pages/route-demo/route2/router';
// import Calculator from './pages/demo/LiftingStateUp/Calculator';
import Router from './pages/route-demo/router4/router';
import Router from './pages/route-demo/route7/router';



ReactDOM.render(
  <React.StrictMode>
    <Router />
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
